<Application x:Class="GurLoader.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:tb="http://www.hardcodet.net/taskbar" xmlns:gurLoader="clr-namespace:GurLoader" xmlns:viewModel="clr-namespace:GurLoader.ViewModel" ShutdownMode="OnExplicitShutdown" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" d1p1:Ignorable="d" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006">
  <Application.Resources>
    <ResourceDictionary>
      <ContextMenu x:Shared="false" x:Key="NotifyContextMenu">
        <MenuItem Header="Preferences" Command="{Binding ShowPreferencesCommand}" />
        <Separator />
        <MenuItem Header="Exit" Command="{Binding ExitApplicationCommand}" />
      </ContextMenu>
      <tb:TaskbarIcon x:Key="TaskbarIcon" IconSource="/Resources/GurLoader.ico" ContextMenu="{StaticResource NotifyContextMenu}" />
    </ResourceDictionary>
  </Application.Resources>
</Application>